package com.dragon.modules.yuegou.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * ali OCR 配置
 * 
 * @author cz
 *
 */
@ConfigurationProperties(prefix = "ali.ocr")
public class AliOcrProperties {

	private String appId;

	private String apiKey;

	private String secretKey;

	private int connectionTimeoutMillis = 2000;

	private int socketTimeoutMillis = 60000;

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getApiKey() {
		return apiKey;
	}

	public void setApiKey(String apiKey) {
		this.apiKey = apiKey;
	}

	public String getSecretKey() {
		return secretKey;
	}

	public void setSecretKey(String secretKey) {
		this.secretKey = secretKey;
	}

	public int getConnectionTimeoutMillis() {
		return connectionTimeoutMillis;
	}

	public void setConnectionTimeoutMillis(int connectionTimeoutMillis) {
		this.connectionTimeoutMillis = connectionTimeoutMillis;
	}

	public int getSocketTimeoutMillis() {
		return socketTimeoutMillis;
	}

	public void setSocketTimeoutMillis(int socketTimeoutMillis) {
		this.socketTimeoutMillis = socketTimeoutMillis;
	}

}
